package pl.edu.agh.persdoc.schedule;

public class Box {

	private String name;
	private String value;
	
	public String getType(){
		
		if(name==null){
			return "";
		}else if(name.equalsIgnoreCase("Weight") || name.equalsIgnoreCase("Glucose")||name.equalsIgnoreCase("BP")||name.equals("Pills")){
			return "examination";
		}
		else if(name.equalsIgnoreCase("Send")){
			return "other";
		}
		else if(name.equals("Delay")){
			return "timerelated";
		}
		else if(name.equals("Time")){
			return "timerelated start";
		}
		else{
			return "";
		}
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getValue() {
		return value;
	}
	

}
